<template>
  <div>1111</div>
</template>

<script setup lang="ts">
const slots = defineSlots<{
  top: () => void;
  bottom: () => void;
}>();

/**
 * {
 *    top: () => <button>wo de tian</button>,
 *    bottom: () => <p>我的t</p>
 * }
 */
console.log("slots", slots.top());
</script>
